package com.jerry.base.dynamicproxy;

/**
 * 超级巨星
 *
 * @author Jerry
 * @since 2024/7/16 23:08
 */
public class SuperStar implements Star {

    private String name;

    public SuperStar(String name) {
        this.name = name;
    }

    @Override
    public String sing(String song) {
        System.out.println(name + "正在唱：" + song);
        return "谢谢大家";
    }

    @Override
    public void dance() {
        System.out.println(name + "正在跳舞");
    }
}
